package jjn.time_api.case8;

import java.time.LocalDate;
import java.time.temporal.ChronoUnit;
import java.util.Scanner;

/**
 * @author Jjn
 * @since 2023/8/16 14:14
 */
public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNext()) {
            LocalDate start = LocalDate.parse(scanner.nextLine());
            LocalDate end = LocalDate.parse(scanner.nextLine());
            long days = ChronoUnit.DAYS.between(start, end);
            System.out.println(days);
        }
    }
}
